import request from '@/utils/request'

// 获取支持的证件照尺寸
export function getPhotoSizes() {
  return request({
    url: '/photo/sizes',
    method: 'get'
  })
}

// 处理证件照
export function processIdPhoto(formData) {
  return request({
    url: '/photo/process',
    method: 'post',
    data: formData,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}

// 导出打印文件
export function exportPrintFile(data) {
  return request({
    url: '/photo/export-print',
    method: 'post',
    params: data
  })
} 